libostree: Delete some leftover remnant API for archive files
authorColin Walters <walters@verbum.org>
Sat, 17 Aug 2013 18:08:04 +0000 (14:08 -0400)
committerColin Walters <walters@verbum.org>
Sat, 17 Aug 2013 18:08:04 +0000 (14:08 -0400)
doc/ostree-sections.txt
src/libostree/ostree-core.c
src/libostree/ostree-core.h
src/libostree/ostree-repo-private.h

index 98f1d033256dd65db0ca06d17fc20ce48e9cd7fa..af360d512f2c2531797b56c7b64eaf8948417271 100644 (file)
@@ -31,7 +31,6 @@ ostree_object_name_deserialize
 ostree_object_to_string
 ostree_object_from_string
 ostree_get_relative_object_path
-ostree_get_relative_archive_content_path
 ostree_get_xattrs_for_file
 ostree_set_xattrs
 ostree_map_metadata_file
index 9d58c3c33f539c19a078cfb73d1aae602e7b735d..430315793305f93926e8ed8539e09b1550a838d5 100644 (file)
@@ -1378,23 +1378,6 @@ ostree_get_relative_object_path (const char         *checksum,
   return g_string_free (path, FALSE);
 }
 
-char *
-ostree_get_relative_archive_content_path (const char        *checksum)
-{
-  GString *path;
-
-  g_assert (strlen (checksum) == 64);
-
-  path = g_string_new ("objects/");
-
-  g_string_append_len (path, checksum, 2);
-  g_string_append_c (path, '/');
-  g_string_append (path, checksum + 2);
-  g_string_append (path, ".filecontent");
-
-  return g_string_free (path, FALSE);
-}
-
 /**
  * ostree_file_header_parse:
  * @metadata: A metadata variant of type %OSTREE_FILE_HEADER_GVARIANT_FORMAT
index 23d17695d642f01d27e3bbfd6ee203f1853d62cd..253be08d74bd109beb8bff967204385e02911a70 100644 (file)
@@ -197,8 +197,6 @@ char *ostree_get_relative_object_path (const char        *checksum,
                                        OstreeObjectType   type,
                                        gboolean           compressed);
 
-char *ostree_get_relative_archive_content_path (const char        *checksum);
-
 gboolean ostree_get_xattrs_for_file (GFile         *f,
                                      GVariant     **out_xattrs,
                                      GCancellable  *cancellable,
index b382021d67fce992a7c5129f8a0c7fde4755f389..e03656d6aa686b319daba6a58b0ba674fabe6df4 100644 (file)
@@ -65,10 +65,6 @@ GFile *
 _ostree_repo_get_uncompressed_object_cache_path (OstreeRepo       *self,
                                                  const char       *checksum);
 
-GFile *
-_ostree_repo_get_archive_content_path (OstreeRepo    *self,
-                                       const char    *checksum);
-
 GFile *
 _ostree_repo_get_file_object_path (OstreeRepo   *self,
                                    const char   *checksum);